const vuexStorage = localStorage.getItem("vuex-count")
//创建state
export default {
    count: vuexStorage?JSON.parse(vuexStorage).count:0,
    price: vuexStorage?JSON.parse(vuexStorage).price:99,
    movieList: vuexStorage?JSON.parse(vuexStorage).movieList:[]
}